﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000D9 RID: 217
	internal class FixExt16Header : IExtHeaderDecoder
	{
		// Token: 0x0600032E RID: 814 RVA: 0x0000C28A File Offset: 0x0000A68A
		private FixExt16Header()
		{
		}

		// Token: 0x0600032F RID: 815 RVA: 0x0000C294 File Offset: 0x0000A694
		public ExtensionHeader Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			sbyte typeCode = (sbyte)bytes[offset + 1];
			return new ExtensionHeader(typeCode, 16U);
		}

		// Token: 0x040000F4 RID: 244
		internal static readonly IExtHeaderDecoder Instance = new FixExt16Header();
	}
}
